package com.shk.annotation;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 异常处理注解
 * 对于异常统一处理
 */
@Target({ElementType.LOCAL_VARIABLE,ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface ExecptionHandlerAnnotation {
    String mesg()default "";

    Class classes() default RuntimeException.class;
}
